package com.wanxi.spring.cloud.security.service.impl;


import com.wanxi.spring.cloud.security.mapper.LogMapper;
import com.wanxi.spring.cloud.security.model.Log;
import com.wanxi.spring.cloud.security.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 蒋帆
 * @since 2020-12-21
 */
@Service
public class LogServiceImpl implements LogService {

    @Autowired(required = false)
    LogMapper logMapper;

    @Override
    public int addLog(Log log) {
        return logMapper.addLog(log);
    }
}
